home *** CD-ROM | disk | FTP | other *** search
/ X User Tools / X User Tools (O'Reilly and Associates)(1994).ISO / sources / cbzone / cbzone.z / cbzone.tar / c_colors.h next >
Text File  |  1991-01-12  |  1KB  |  56 lines

  1. /*
  2.  * just keep track of the various color indices
  3.  */
  4.  
  5. #define COLOR_BG    0       /* this has to be first */
  6. #define COLOR_FG    1
  7. #define COLOR_CURSOR    2
  8. #define COLOR_CRACKS    3
  9. #define COLOR_PSALVO    4
  10. #define COLOR_XHAIR    5
  11. #define COLOR_HORIZON    6
  12. #define COLOR_MOON    7
  13. #define COLOR_ESALVO    8
  14. #define COLOR_TEXT    9
  15. #define COLOR_JOYSTICK    10
  16. #define COLOR_SCANNER    11
  17. #define COLOR_TANK    12      /* the fading colors must follow ALL the */
  18. #define COLOR_SUPER    13      /* nonfading colors */
  19. #define COLOR_MISSILE    14
  20. #define COLOR_COPTER    15
  21. #define COLOR_LANDER    16
  22. #define COLOR_CUBE    17
  23. #define COLOR_PYRAMID    18
  24.  
  25. #define MAX_COLORS 19
  26.  
  27. #define FN_COLOR 0                      /* this section is derived */
  28. #define LN_COLOR 11
  29. #define FF_COLOR 12
  30. #define LF_COLOR 18
  31. #define L_COLOR 18
  32.  
  33. #define F1_COLOR 5
  34. #define L1_COLOR 7
  35. #define F2_COLOR 1
  36. #define L2_COLOR 4
  37. #define F3_COLOR 17
  38. #define L3_COLOR 18
  39. #define F4_COLOR 8
  40. #define L4_COLOR 10
  41. #define F5_COLOR 11
  42. #define L5_COLOR 16
  43. #define F6_COLOR 11
  44. #define L6_COLOR 18
  45. #define F7_COLOR 1
  46. #define L7_COLOR 7
  47. #define F8_COLOR 1
  48. #define L8_COLOR 10
  49. #define F9_COLOR 1
  50. #define L9_COLOR 18
  51.  
  52.  
  53. #define OUT_OF_DRAWING_RANGE 2000.0
  54.  
  55.  
  56.